package com.cuit.dao;

import com.cuit.pojo.AcceptOrderData;
import com.cuit.pojo.Doctor;
import com.cuit.pojo.Patient;

import java.util.List;

public interface PatientDao {
    //根据手机号查询
    public Patient queryById(String p_id);
    //根据手机号和密码进行查询
    public Patient queryByIdAndPassword(String p_id,String p_password);
    //保存用户信息
    public int save(Patient patient);
    //修改用户信息
    public  int modify(Patient patient);
    //修改用户密码
    public int modifyPassword(String p_id,String p_password);
    //根据医生名称、科室、号种 查找医生信息
    public List<AcceptOrderData> queryDoctor(String doctor_name, String department, String category,String[] sitting_time,int max_order, int[] d_week);
}
